const mongoose = require("mongoose");
const Schema = mongoose.Schema;

// 约束类型
const DepartType = {
  depNo: Number, //部门编号
  name: String, //部门名称
  createtime: Number, // 创建时间
  updatetime: Number, // 更新时间
};

const DepartModel = mongoose.model("Departs", new Schema(DepartType));

module.exports = DepartModel;
